#!/usr/bin/env ruby

$LOAD_PATH << File.expand_path("../../lib")

require 'flgrcore'
require 'flgrmeasure'


imin = Flgrcore::flgr2d_load_pgm("../../apps/images/gray/lena.pgm","input")

minmax = Flgrmeasure::flgr_measure_min_max(imin)

print "min=",minmax[0]," max=",minmax[1],"\n"
